import axios from "@/api/index";

function detailaction(data){
    return axios({
        url:"/goods/detailaction",
        method:"GET",
        data
    })
}
function addcollect(data){
    return axios({
        url:"/collect/addcollect",
        method:"POST",
        data
    })
}
function addCart(data){
    return axios({
        url:"/cart/addCart",
        method:"POST",
        data
    })
}

export {
    detailaction,
    addcollect,
    addCart,
}